Computer Science Lesson Plan
Class: 8 - Lesson: 3 Updating Screen Elements

Purpose: To learn to update screen elements using setProperty() and setText(), and to use AI tools to generate images for App Lab.

No. of Classes

Two classes (one class = one and a half hours).

Material Required
  1. Desktop computer or laptop.
  2. Circuit Playground Express board.
  3. USB cable.
  4. Internet connection.
Prior Knowledge

Students should know:

  • Upload image files
  • Exercise

    Exercise 1



    1. Work through the lesson to the end.

    Exercise 2



    1. Use AI tools to generate images to use with App Lab.

    Solutions



  • Link to view the model solution file for Exercise 1.
  • Link to view the model solution for Exercise 2.

  • Teacher Instructions
    1. Teachers should ensure that students know how to update the screen.
    2. Teachers should prepare before the class.
    3. Teachers should ensure that students practise all these levels.
    4. Teachers may allow students to complete the exercise as pair programming.
    5. Click here for more instructions about this lesson.